home *** CD-ROM | disk | FTP | other *** search
/ SPACE 1 / SPACE - Library 1 - Volume 1.iso / program / 355 / source / ifsdemo / ifs.doc < prev    next >
Text File  |  1990-02-02  |  3KB  |  71 lines

  1.                               IFS Decoder
  2.  
  3. This program is a demonstration of Iterated Function Systems based on an
  4. article entitled 'A Better Way to Compress Images' by Michael F. Barnsley
  5. and Alan D. Sloan, Byte Magazine, Vol. 13, No. 1. For detailed information
  6. on the operation of the program I must refer you to the article. I'm no
  7. expert.
  8.  
  9. I wrote the program because I was, and am, interested in the ideas presented
  10. in the article. I have uploaded it for two reasons. (1) You may also be
  11. interested in the image processing techniques demonstrated. (2) It may serve
  12. as example of GEM programming using the Jefferson Software Modula-2 
  13. development system.
  14.  
  15. To expand on reason 1, there are four fairly complex images produced by the
  16. program. Each image is represented by only 32 REAL numbers. This represents
  17. a phenomenal degree of image compression.
  18.  
  19. As regards reason 2, I have only been writing Modula-2 for a couple of weeks
  20. and have found it to be an extremely easy to use tool for producing high
  21. quality software. This program was produced in less than half the time it
  22. would have taken me to produce the same program in C. I will leave the
  23. religious arguments about languages to someone else, but I personally find
  24. Modula-2 to be a very sharp tool indeed. There is, however, a shortage of good
  25. quality examples of ST programming in Modula-2. While this program is certainly
  26. not flawless, it does illustrate many of the procedures necessary to write a
  27. GEM program in Modula-2.
  28.  
  29. In addition to the IFS program and source, the source is provided for several
  30. additional modules that I have found useful in GEM programming. They are
  31. not complete, or even necessarily good, but they are used in this program
  32. and I have found them generally useful. If you want them, here they are.
  33.  
  34. Be patient when running the program. These are fractal images and take about
  35. 4 minutes each to draw. The purpose of the technique is image compression, not
  36. fast reproduction.
  37.  
  38. Sorry, this thing only runs in mono at this point. You will have to modify the
  39. source to run on a color system.
  40.  
  41. If any of you make substantial additions or improvements to the program I would
  42. appreciate it if you would upload them to GEnie and let me know.
  43.  
  44. Finally, many thanks to Ken and Gary at Jefferson Software. They have been
  45. most patient and helpful to me in getting started with their Modula-2
  46. system. Thanks again, guys!
  47.  
  48.                             Mike Long, 1/16/88
  49.  
  50. Files in this archive:
  51.  
  52.    IFS.PRG - The IFS demo program.
  53.    IFS.MOD - The source code.
  54.    IFS.RSC - The resource file.
  55.  
  56.    BITSTUFF.DEF - Some useful bit manipulation routines.
  57.    BITSTUFF.MOD
  58.  
  59.    GEMCONST.DEF - Some useful GEM constant definitions.
  60.    GEMCONST.MOD
  61.  
  62.    GEMTYPES.DEF - Some useful GEM type declarations.
  63.    GEMTYPES.MOD
  64.  
  65.    GEMPROCS.DEF - Some useful GEM procedures.
  66.    GEMPROCS.MOD
  67.  
  68.    MAKEIFS.G - A gulam script that will compile and link the whole mess.
  69.  
  70.    IFS.DOC - This file.
  71.